package www.dashu.com.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * 首页内容返回信息封装
 */
@Getter
@Setter
public class HomeContentResult {
    //轮播广告
    private List<BAdsSwiper> swiper;
    //推荐品牌
    private List<BCircleNav> nav;
    //新品推荐
    private List<CProduct> goodsList;

    public HomeContentResult(){
        List<Map<String,Object>> list = new ArrayList<>();
        Map<String,Object> item = new HashMap<>();
        item.put("id", 1);
        item.put("name", "畜牧专家");
        item.put("text", "养猪技能分享");
        item.put("img", "https://www.91phzf.com/images/home/sundry/3.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("name", "在线诊断");
        item.put("text", "专家24小时在线");
        item.put("img", "https://www.91phzf.com/images/home/sundry/4.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("name", "连麦服务");
        item.put("text", "2114人在看");
        item.put("img", "https://www.91phzf.com/images/home/sundry/5.png");
        list.add(item);
        this.live = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("text", "xxx赚了560元");
        item.put("img", "https://www.91phzf.com/images/avatar/1.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("text", "xxx赚了50元");
        item.put("img", "https://www.91phzf.com/images/avatar/2.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("text", "xxx赚了360元");
        item.put("img", "https://www.91phzf.com/images/avatar/3.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("text", "xxx赚了160元");
        item.put("img", "https://www.91phzf.com/images/avatar/4.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("text", "xxx赚了20元");
        item.put("img", "https://www.91phzf.com/images/avatar/5.jpg");
        list.add(item);
        this.earn = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "会员折扣");
        item.put("text", "98%卖出");
        item.put("img", "https://www.91phzf.com/images/home/sundry/6.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "市内包送");
        item.put("text", "闪电到达");
        item.put("img", "https://www.91phzf.com/images/home/sundry/7.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "优选农资");
        item.put("text", "优选放心购");
        item.put("img", "https://www.91phzf.com/images/home/sundry/8.png");
        list.add(item);
        this.sellQuickly = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "农友圈子");
        item.put("text", "发现有趣");
        item.put("img", "https://www.91phzf.com/images/home/sundry/11.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "直播热销");
        item.put("text", "直降200元");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-11-28/b86bec29dd6e46f8f4d62381d6627424.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "新人专享");
        item.put("text", "");
        item.put("img", "https://www.91phzf.com/images/home/sundry/12.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "爆款大促");
        item.put("text", "");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-06-01/9d4995a08a7473988137466801244253.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "左邻右舍");
        item.put("text", "");
        item.put("img", "https://www.91phzf.com/images/home/sundry/14.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", 1);
        item.put("title", "好货卖场");
        item.put("text", "");
        item.put("img", "https://shop.qiangnongzi.com/images/2021-03-09/809e09e19cb6fecde9627b58ba978a2d.png");
        list.add(item);
        this.activity = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("title", "推荐");
        item.put("tag", "");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "附近");
        item.put("tag", "");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "直播");
        item.put("tag", "秒杀中");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "实惠好货");
        item.put("tag", "");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "短视频");
        item.put("tag", "");
        list.add(item);
        this.goodsTab = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("title", "抑快净-52.5%噁酮·霜脲氰-100g");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-07-14/2cd3732db1c55eb1ee03f531c59b298e.png");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "露娜森-43%氟菌·肟菌酯-10毫升");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-07-10/b497c506d2e28a48aa573ad8e45e40d6.png");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "净果精-33.50%喹啉铜");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-06-04/bedcc433623faea070b0476d3b3a4c21.png");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "施保克®-450g/L咪鲜胺EW");
        item.put("img", "https://shop.qiangnongzi.com/images/2020-07-23/3e3cc7ee91063688c07cbe1325541fef.png");
        list.add(item);
        item = new HashMap<>();
        item.put("type", "recommend");
        item.put("list", list);
        this.recommend = item;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("tag", "120万人");
        item.put("tag_title", new ArrayList<String>());
        item.put("tag_time", "");
        item.put("tag_red", "抢100元红包");
        item.put("tag_red_bg", "");
        item.put("title", "莫山山的直播");
        item.put("name", "大河国莫山山");
        item.put("appreciate", "5万");
        item.put("avatar", "https://www.91phzf.com/images/avatar/2.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/live/2.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("tag", "630万人");
        item.put("tag_title", new ArrayList<String>());
        item.put("tag_time", "");
        item.put("tag_red", "抢100元红包");
        item.put("tag_red_bg", "");
        item.put("title", "莫山山的直播");
        item.put("name", "大河国莫山山");
        item.put("appreciate", "5万");
        item.put("avatar", "https://www.91phzf.com/images/avatar/3.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/live/3.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("tag", "630万人");
        item.put("tag_title", new ArrayList<String>());
        item.put("tag_time", "");
        item.put("tag_red", "抢100元红包");
        item.put("tag_red_bg", "");
        item.put("title", "莫山山的直播");
        item.put("name", "大河国莫山山");
        item.put("appreciate", "5万");
        item.put("avatar", "https://www.91phzf.com/images/avatar/4.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/live/4.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("tag", "630万人");
        item.put("tag_title", new ArrayList<String>());
        item.put("tag_time", "");
        item.put("tag_red", "抢100元红包");
        item.put("tag_red_bg", "");
        item.put("title", "莫山山的直播");
        item.put("name", "大河国莫山山");
        item.put("appreciate", "5万");
        item.put("avatar", "https://www.91phzf.com/images/avatar/5.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/live/5.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("tag", "630万人");
        item.put("tag_title", new ArrayList<String>());
        item.put("tag_time", "");
        item.put("tag_red", "抢100元红包");
        item.put("tag_red_bg", "");
        item.put("title", "莫山山的直播");
        item.put("name", "大河国莫山山");
        item.put("appreciate", "5万");
        item.put("avatar", "https://www.91phzf.com/images/avatar/6.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/live/6.jpg");
        list.add(item);
        this.liveData = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("title", "某某某的视频");
        item.put("name", "某某某");
        item.put("avatar", "https://www.91phzf.com/images/avatar/1.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/video/1.jpg");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "某某某的视频");
        item.put("name", "某某某");
        item.put("avatar", "https://www.91phzf.com/images/avatar/2.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/video/2.gif");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "某某某的视频");
        item.put("name", "某某某");
        item.put("avatar", "https://www.91phzf.com/images/avatar/3.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/video/3.gif");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "某某某的视频");
        item.put("name", "某某某");
        item.put("avatar", "https://www.91phzf.com/images/avatar/4.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/video/4.gif");
        list.add(item);
        item = new HashMap<>();
        item.put("title", "某某某的视频");
        item.put("name", "某某某");
        item.put("avatar", "https://www.91phzf.com/images/avatar/5.jpg");
        item.put("cover_img", "https://www.91phzf.com/images/home/video/5.gif");
        list.add(item);
        this.videoData = list;

        list = new ArrayList<>();
        item = new HashMap<>();
        item.put("id", "1");
        item.put("name", "手机1");
        item.put("img", "https://www.91phzf.com/images/home/grid-icon/16.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", "1");
        item.put("name", "平板2");
        item.put("img", "https://www.91phzf.com/images/home/grid-icon/17.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", "1");
        item.put("name", "手机3");
        item.put("img", "https://www.91phzf.com/images/home/grid-icon/18.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", "1");
        item.put("name", "手机4");
        item.put("img", "https://www.91phzf.com/images/home/grid-icon/19.png");
        list.add(item);
        item = new HashMap<>();
        item.put("id", "1");
        item.put("name", "手机5");
        item.put("img", "https://www.91phzf.com/images/home/grid-icon/20.png");
        list.add(item);
        this.gridSortData = list;

    }

    private List<Map<String,Object>> live = new ArrayList<>();
    private List<Map<String,Object>> earn = new ArrayList<>();
    private List<Map<String,Object>> sellQuickly = new ArrayList<>();
    private List<Map<String,Object>> activity = new ArrayList<>();
    private List<Map<String,Object>> goodsTab = new ArrayList<>();
    private Map<String,Object> recommend;
    private List<Map<String,Object>> liveData = new ArrayList<>();
    private List<Map<String,Object>> videoData = new ArrayList<>();
    private List<Map<String,Object>> gridSortData = new ArrayList<>();


}
